package com.blue.rpc.server;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class RpcServerMain
{
	private static String[] springs = {"spring/rpc-server.xml"};
	
	public RpcServerMain()
	{
	}
	
	public static void main(String[] args) throws Exception
	{
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(springs);
		RpcServer rpcServer = ctx.getBean(RpcServer.class);
		rpcServer.start();
		ctx.close();
	}
	
}
